package com.yy.service;

import com.yy.dao.AdminDao;
import com.yy.pojo.Admin;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author young
 * @date 2022/9/5 22:05
 * @description:
 */
@Service
public class TestService {
    @Autowired
    private AdminDao adminDao;
    
    public Admin get(Integer id){
       return adminDao.one(id);
    }
}
